package com.t235.gc.biz.controller;


import com.t235.gc.AjaxResult;
import com.t235.gc.biz.service.RecyclersService;
import com.t235.gc.biz.service.UsersService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/login")
public class LoginController {
    @Resource
    private UsersService usersService;
    @Resource
    private RecyclersService recyclersService;

    @PostMapping("/users")
    public AjaxResult userLogin(String openId) {
        return AjaxResult.success();
    }

    @PostMapping("/recyclers")
    public AjaxResult recyclersLogin(String userAccount, String passWord) {
        return AjaxResult.success();
    }

    @PostMapping("/sysManager")
    public AjaxResult sysManagerLogin(String userAccount, String passWord) {
        return AjaxResult.success();
    }
}
